//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package javax.vpncrypto;

import java.security.AlgorithmParameters;
import java.security.Key;
import java.security.SecureRandom;
import java.security.spec.AlgorithmParameterSpec;

final class NullCipherSpi extends CipherSpi {
    protected NullCipherSpi() {
    }

    public void engineSetMode(String var1) {
    }

    public void engineSetPadding(String var1) {
    }

    protected int engineGetBlockSize() {
        return 1;
    }

    protected int engineGetOutputSize(int var1) {
        return var1;
    }

    protected byte[] engineGetIV() {
        byte[] var1 = new byte[8];
        return var1;
    }

    protected AlgorithmParameters engineGetParameters() {
        return null;
    }

    protected void engineInit(int var1, Key var2, SecureRandom var3) {
    }

    protected void engineInit(int var1, Key var2, AlgorithmParameterSpec var3, SecureRandom var4) {
    }

    protected void engineInit(int var1, Key var2, AlgorithmParameters var3, SecureRandom var4) {
    }

    protected byte[] engineUpdate(byte[] var1, int var2, int var3) {
        if (var1 == null) {
            return null;
        } else {
            byte[] var4 = new byte[var3];
            System.arraycopy(var1, var2, var4, 0, var3);
            return var4;
        }
    }

    protected int engineUpdate(byte[] var1, int var2, int var3, byte[] var4, int var5) {
        if (var1 == null) {
            return 0;
        } else {
            System.arraycopy(var1, var2, var4, var5, var3);
            return var3;
        }
    }

    protected byte[] engineDoFinal(byte[] var1, int var2, int var3) {
        return this.engineUpdate(var1, var2, var3);
    }

    protected int engineDoFinal(byte[] var1, int var2, int var3, byte[] var4, int var5) {
        return this.engineUpdate(var1, var2, var3, var4, var5);
    }

    protected int engineGetKeySize(Key var1) {
        return 0;
    }
}
